Tegra: platform dependent address space sizes
authorSteven Kao <[email protected]>
Fri, 9 Feb 2018 12:50:02 +0000 (20:50 +0800)
committerVarun Wadekar <[email protected]>
Thu, 31 Jan 2019 16:47:51 +0000 (08:47 -0800)
This patch moves the PLAT_PHY_ADDR_SPACE_SIZE & PLAT_VIRT_ADDR_SPACE
macros to tegra_def.h, to define the virtual/physical address space
size on the platform.

Change-Id: I1c5d264c7ffc1af0e7b14cc16ae2c0416efc76f6
Signed-off-by: Steven Kao <[email protected]>
plat/nvidia/tegra/include/platform_def.h
plat/nvidia/tegra/include/t132/tegra_def.h
plat/nvidia/tegra/include/t186/tegra_def.h
plat/nvidia/tegra/include/t210/tegra_def.h

index 0a0126b1e094d8232af8064fa8c55b5aa1b34177..334ad129a196385d2edfcdd1f5cb449c8d1720e2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
 #define BL32_BASE                      (TZDRAM_BASE + BL31_SIZE)
 #define BL32_LIMIT                     TZDRAM_END
 
-/*******************************************************************************
- * Platform specific page table and MMU setup constants
- ******************************************************************************/
-#define PLAT_PHY_ADDR_SPACE_SIZE       (ULL(1) << 35)
-#define PLAT_VIRT_ADDR_SPACE_SIZE      (ULL(1) << 35)
-
 /*******************************************************************************
  * Some data must be aligned on the biggest cache line size in the platform.
  * This is known only to the platform as it might have a combination of
index 2fe321b223887c74bdadcb54481318b568a0010a..dfed2aa60c235d27a326486b18294e7ce6a83219 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
 #define PLAT_MAX_RET_STATE             U(1)
 #define PLAT_MAX_OFF_STATE             (PSTATE_ID_SOC_POWERDN + U(1))
 
+/*******************************************************************************
+ * Chip specific page table and MMU setup constants
+ ******************************************************************************/
+#define PLAT_PHY_ADDR_SPACE_SIZE       (ULL(1) << 35)
+#define PLAT_VIRT_ADDR_SPACE_SIZE      (ULL(1) << 35)
+
 /*******************************************************************************
  * GIC memory map
  ******************************************************************************/
index 2603ccb2a6acb30e2dd6ec81b1d6b4c61fbf5b69..da050a8952710dff99427384b7547a3585b0eb64 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  */
 #define PLAT_MAX_RET_STATE             U(1)
 #define PLAT_MAX_OFF_STATE             U(8)
 
+/*******************************************************************************
+ * Chip specific page table and MMU setup constants
+ ******************************************************************************/
+#define PLAT_PHY_ADDR_SPACE_SIZE       (ULL(1) << 35)
+#define PLAT_VIRT_ADDR_SPACE_SIZE      (ULL(1) << 35)
+
 /*******************************************************************************
  * Secure IRQ definitions
  ******************************************************************************/
index 6a820f0086be1f1dcb7af21331710db586db37ab..02a49b8f585a857b9f62134af93ee0410ba36a82 100644 (file)
 #define PLAT_MAX_RET_STATE             U(1)
 #define PLAT_MAX_OFF_STATE             (PSTATE_ID_SOC_POWERDN + U(1))
 
+/*******************************************************************************
+ * Chip specific page table and MMU setup constants
+ ******************************************************************************/
+#define PLAT_PHY_ADDR_SPACE_SIZE       (ULL(1) << 35)
+#define PLAT_VIRT_ADDR_SPACE_SIZE      (ULL(1) << 35)
+
 /*******************************************************************************
  * iRAM memory constants
  ******************************************************************************/